Chore: mv translateFunctionTypeAnnotation fn > parsers-commons.js#35343
Chore: mv translateFunctionTypeAnnotation fn > parsers-commons.js#35343Pranav-yadav wants to merge 1 commit into
translateFunctionTypeAnnotation fn > parsers-commons.js#35343Conversation
|
@rshest has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Base commit: 2eccd59 |
Base commit: 2eccd59 |
|
PR build artifact for f906d91f265f1bc8259e68eaebe89240b0b5a22f is ready. |
|
PR build artifact for f906d91f265f1bc8259e68eaebe89240b0b5a22f is ready. |
|
/rebase |
- also moved below helpers > `parsers-commons.js`; - `getTypeAnnotationParameters` - `getFunctionNameFromParameter` - `getParameterName` - `getParameterTypeAnnotation` - `getTypeAnnotationReturnType` <3
f906d91 to
c8af053
Compare
|
@rshest has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
PR build artifact for c8af053 is ready. |
|
PR build artifact for c8af053 is ready. |
Summary
This PR should solve the
"Circular Dependencies"problem/issue because of which some PRs are getting blocked as discussed here #35288 (comment)parsers-commons.js;getTypeAnnotationParametersgetFunctionNameFromParametergetParameterNamegetParameterTypeAnnotationgetTypeAnnotationReturnType<3
Changelog
[INTERNAL] [CHANGED] - Moved
translateFunctionTypeAnnotationfn fromparsers-primitives.jstoparsers-commons.jsalso, moved it's helpersTest Plan
#00ff00yarn lint && yarn flow && yarn test-ci